
//************************定义底图图层************************************
//默认图层-China黑底底图
var default_map = L.supermap.tiledMapLayer("http://52.80.7.103:8090/iserver/services/map-china400/rest/maps/ChinaDark", {
    noWrap: true,
    transparent:true,
    opacity:0,
});

//天地图地点标签图层
// tiandi_label = L.supermap.tiandituTileLayer({
//     transparent:true,
//     opacity:0,
//     isLabel: true,
//     key: "1d109683f4d84198e37a38c442d68311"
// })
//谷歌地图图层
var google_map = L.tileLayer('http://mt0.google.cn/vt/lyrs=m@160000000&hl=zh-CN&gl=CN&src=app&y={y}&x={x}&z={z}&s=Ga', {
    attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors',
    transparent:true,
    opacity:0,
});
//google 卫星图层
google_satellite = L.tileLayer('http://{s}.google.com/vt/lyrs=s&x={x}&y={y}&z={z}', {
    subdomains: ['mt0', 'mt1', 'mt2', 'mt3'],
    transparent:true,
    opacity:0,
    noWrap: true,
});
//高德地图图层
// gaode_map = L.tileLayer('http://webrd0{s}.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}', {
//     subdomains: ['1', '2', '3', '4'],
//     minZoom: 1,
//     maxZoom: 19,
//     transparent:true,
//     opacity:0,
// });
//高德卫星图层
gaode_satellite = L.tileLayer('http://webst0{s}.is.autonavi.com/appmaptile?style=6&x={x}&y={y}&z={z}', {
    subdomains: ['1', '2', '3', '4'],
    minZoom: 1,
    maxZoom: 19,
    transparent:true,
    opacity:1,
});
//高德标注图层
gaodebiaozhu = L.tileLayer('http://webst0{s}.is.autonavi.com/appmaptile?style=8&x={x}&y={y}&z={z}', {
    subdomains: ['1', '2', '3', '4'],
    minZoom: 1,
    maxZoom: 19,
    transparent:true,
    opacity:1,
    zIndex:2
});
